<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>商品信息</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../../layerui/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../layerui/css/public.css" media="all" />
	<link rel="stylesheet" href="goods.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form layui-row layui-col-space10">
	<input type="hidden" name="id">
	<input type="hidden" name="picUrl">
	<div class="layui-col-md9 layui-col-xs12">
		<div class="layui-row layui-col-space10">
			<div class="layui-col-md6 ">
				<div class="layui-form-item magt3">
					<label class="layui-form-label">商品名称</label>
					<div class="layui-input-block">
						<input type="text" class="layui-input name" lay-verify="required" placeholder="请输入商品名称">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">商品分类</label>
					<div class="layui-input-block">
						<select data-url="/listCategoryForCombo" data-value="" name="categoryId" class="categoryId" >
						</select>
					</div>
				</div>
				<div class="layui-form-item magt3">
					<label class="layui-form-label">最低价格</label>
					<div class="layui-input-block">
						<input type="text" class="layui-input miniPrice" lay-verify="required|number" placeholder="请输入最低价格">
					</div>
				</div>
				<div class="layui-form-item magt3">
					<label class="layui-form-label">原始价格</label>
					<div class="layui-input-block">
						<input type="text" class="layui-input originalPrice" lay-verify="number" placeholder="请输入原始价格">
					</div>
				</div>
				<div class="layui-form-item magt3">
					<label class="layui-form-label textAlignLeft">运费模板</label>
					<div class="layui-input-block">
						<select data-url="/listFreightForCombo" data-value="" name="logisticsId" class="logisticsId" >
						</select>
					</div>
				</div>
			</div>
			<div class="layui-col-md6">
				<div class="layui-form-item magt3">
					<label class="layui-form-label textAlignLeft">排  序</label>
					<div class="layui-input-block">
						<input type="text" class="layui-input displayOrder" lay-verify="number" placeholder="请输入排序">
					</div>
				</div>
				<div class="layui-form-item magt3">
					<label class="layui-form-label textAlignLeft">库  存</label>
					<div class="layui-input-block">
						<input type="text" class="layui-input stores" lay-verify="required" placeholder="请输入库存">
					</div>
				</div>
				<div class="layui-form-item magt3">
					<label class="layui-form-label textAlignLeft">重  量</label>
					<div class="layui-input-block">
						<input type="text" class="layui-input weight" lay-verify="required" placeholder="请输入重量">
					</div>
				</div>
				<div class="layui-form-item magt3">
					<label class="layui-form-label textAlignLeft">状  态</label>
					<div class="layui-input-block">
						<select data-key="GOODS_STATUS" data-page="GOODS" data-value="" name="status" class="status" >
						</select>
					</div>
				</div>
			</div>
		</div>
		<div class="layui-form-item magb0">
			<label class="layui-form-label">详细描述</label>
			<div class="layui-input-block">
				<textarea class="layui-textarea layui-hide" name="content" lay-verify="content" id="goods_content"></textarea>
			</div>
		</div>

		<hr class="layui-bg-gray" />
		<div class="layui-center">
			<a class="layui-btn layui-btn-normal" lay-filter="add_goods" lay-submit><i class="layui-icon">&#xe609;</i>保存</a>
		</div>


	</div>
	<div class="layui-col-md3 layui-col-xs12">

		<div class="layui-upload-list thumbBox mag0 magt3 goodsPic">
			<img class="layui-upload-img thumbImg">
		</div>

		<hr class="layui-bg-gray" />

		<blockquote class="layui-elem-quote news_search">
			<div class="layui-inline">
				<a class="layui-btn layui-btn-sm uploadGoodsBannerImg">上传新图片</a>
			</div>
			<span class="layui-word-aux">商品Banner图片</span>
		</blockquote>

		<ul class="goods-photos" id="Images"></ul>
	</div>
</form>
<script type="text/javascript" src="../../layerui/layui/layui.js"></script>
<script type="text/javascript" src="goodsAdd.js"></script>
</body>
</html>